


<?php echo $this->element('menu'); ?>
<div id="list-boards">
    <?php
    if($results){
       foreach($results as $result){
    
    ?>
    <div class="col-md-3">
        <div class="wrapper_board">
            
               

            
                <div class="big_board">
                    <?php
                        
                            echo $this->Html->image($result['Image']['url'],
                                                array(
                                                    'alt'=>'CakePHP',
                                                    'width'=>'100%',
                                                    'height'=>'100%'));
                    ?>
                    <!--<img width="100%" height="100%" src="images/img_test.jpg">-->
                </div>
                 <div class="board_title">
                    <div class="image_display_extensions">
                       
                        <p><?php echo 'Name:  '.$result['Image']['name']; ?></p>
                        <p><?php echo 'Category:  '.$result['Categorie']['categoriename']; ?></p>
                        <p><?php echo 'Description:  '.$result['Image']['description']; ?></p>
                    </div> 
                    
                </div>
            <a href="/pinterest/Boards/viewMyBoard/<?php echo $result['Image']['id']; ?>">Upload to Board</a>


           
        </div>
    </div>
    <?php
        }
     }else{
        echo "Khong co";
     }
    ?>
</div>
